package com.yfp.device.mapper;

import com.yfp.device.domain.MachineLog;
import com.yfp.device.domain.MachineLogExample;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface MachineLogMapper {
    long countByExample(MachineLogExample example);

    int deleteByExample(MachineLogExample example);

    int insert(MachineLog record);

    int insertSelective(MachineLog record);

    List<MachineLog> selectByExample(MachineLogExample example);

    int updateByExampleSelective(@Param("record") MachineLog record, @Param("example") MachineLogExample example);

    int updateByExample(@Param("record") MachineLog record, @Param("example") MachineLogExample example);

    List<MachineLog> selectByMachineSnAndTime(@Param("machineSn") String machineSn, @Param("beginTime") Date beginTime, @Param("endTime") Date endTime);

}